/* css中的box-sizing属性，可以解决子元素宽度100%时，设置padding不超出父元素宽度 */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

html, body {
  width: 100%;
  height: 100%;
  max-width: 1920px;
  min-width: 750px;
  margin: 0 auto;
  color: $base-font;
  font-size: 14px;
  font-family: "Microsoft YaHei" !important;
}

p {
  padding: 0;
  margin: 0;
}

#app {
  width: 100%;
  height: 100%;
}

//火狐下的移除input type=number时后面的增减符号
input[type=number] {
  -moz-appearance: textfield;
}

//谷歌下的移除input type=number时后面的增减符号
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.clear-fix {
  content: "";
  display: inline-block;
  zoom: 1;
  clear: both;
}

.hide {
  display: none !important;
}

ul {
  margin: 0;
  padding: 0;
  li {
    list-style: none;
  }
}

.f-right {
  float: right;
}

.f-left {
  float: left;
}

.text-overflow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-align {
  align-items: center;
}

.flex-justify {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.page-wrap{
  margin-top: 30px;
}

